<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<p>{{msg}}</p>
			<p>{{rawhtml}}</p>
			<p><span style="color:red">this is should be red</span></p>
			<p v-html="rawhtml"></p>
			
			<p v-bind:class="color">test...</p>
			
			<p>{{number + 1}}</p>
			<p>{{ok ? 'YES' : 'NO' }}</p>
			<p>{{message.split('').reverse().join('')}}</p>
		</div>
		
		<script type="text/javascript">
			var vm = new Vue({
				el:"#app",
				data:{
					msg:'1',
					rawhtml:'<span style="color:red">this is should be red</span>',
					color:'blue',
					number:1,
					ok:0,
					message:'vue',
				},
				
			})
		</script>
		
		<style type="text/css">
			.red{color: red;}
			.blue{color: blue;font-size: 100px;}
			
		</style>
	</body>
</html>
